package com.cx.service;

import com.cx.pojo.Concern;

import java.util.List;

public interface ConcernService {

//    查询 关注
    List<Concern> selectByConcerningId(Integer concerningId);
    //    查询 粉丝
    List<Concern> selectByConcernedId(Integer concernedId);


    //   取消关注
//    Integer deleteConcern(Integer concernedId);


    Integer insertConcern(Concern concern);

    Integer deleteConcern(String userName,String userByName);

    List<Concern> selectByUserNameAndUserByName(String userName,String userByName);

    List<Concern> selectByOther1Name(String userName);

    List<Concern> selectByOther2Name(String userName);

    Integer deleteConcern(String userName);



}
